package threePlayerChessa;

/**
 * Tile Relations class defines the adjacency of each tile on the board.
 * <p> This class is used to allow tiles to know who is next to them.
 * <p>This allows pieces to find out where they can move to.
 */
public class TileRelations {
	public int relations[][][] = new int[97][14][3]; //number then letter
	
	public TileRelations(){
		//a1
		relations[1][0][1] = 1;
		relations[1][0][2] = 1;
		relations[1][1][1] = 2;
		relations[1][1][2] = 1;
		relations[1][2][1] = 0;
		relations[1][2][2] = 0;
		relations[1][3][1] = 0;
		relations[1][3][2] = 0;
		relations[1][4][1] = 1;
		relations[1][4][2] = 2;
		relations[1][5][1] = 0;
		relations[1][5][2] = 0;
		relations[1][6][1] = 0;
		relations[1][6][2] = 0;
		relations[1][7][1] = 0;
		relations[1][7][2] = 0;
		relations[1][8][1] = 2;
		relations[1][8][2] = 2;
		relations[1][9][1] = 0;
		relations[1][9][2] = 0;
		relations[1][10][1] = 0;
		relations[1][10][2] = 0;
		relations[1][11][1] = 0;
		relations[1][11][2] = 0;
		relations[1][12][1] = 0;
		relations[1][12][2] = 0;
		relations[1][13][1] = 0;
		relations[1][13][2] = 0;	
		//b1
		relations[2][0][1] = 1;
		relations[2][0][2] = 2;
		relations[2][1][1] = 2;
		relations[2][1][2] = 2;
		relations[2][2][1] = 0;
		relations[2][2][2] = 0;
		relations[2][3][1] = 1;
		relations[2][3][2] = 1;
		relations[2][4][1] = 1;
		relations[2][4][2] = 3;
		relations[2][5][1] = 0;
		relations[2][5][2] = 0;
		relations[2][6][1] = 0;
		relations[2][6][2] = 0;
		relations[2][7][1] = 2;
		relations[2][7][2] = 1;
		relations[2][8][1] = 2;
		relations[2][8][2] = 3;
		relations[2][9][1] = 0;
		relations[2][9][2] = 0;
		relations[2][10][1] = 0;
		relations[2][10][2] = 0;
		relations[2][11][1] = 0;
		relations[2][11][2] = 0;
		relations[2][12][1] = 0;
		relations[2][12][2] = 0;
		relations[2][13][1] = 0;
		relations[2][13][2] = 0;
		//c1
		relations[3][0][1] = 1;
		relations[3][0][2] = 3;
		relations[3][1][1] = 2;
		relations[3][1][2] = 3;
		relations[3][2][1] = 0;
		relations[3][2][2] = 0;
		relations[3][3][1] = 1;
		relations[3][3][2] = 2;
		relations[3][4][1] = 1;
		relations[3][4][2] = 4;
		relations[3][5][1] = 0;
		relations[3][5][2] = 0;
		relations[3][6][1] = 0;
		relations[3][6][2] = 0;
		relations[3][7][1] = 2;
		relations[3][7][2] = 2;
		relations[3][8][1] = 2;
		relations[3][8][2] = 4;
		relations[3][9][1] = 0;
		relations[3][9][2] = 0;
		relations[3][10][1] = 0;
		relations[3][10][2] = 0;
		relations[3][11][1] = 0;
		relations[3][11][2] = 0;
		relations[3][12][1] = 0;
		relations[3][12][2] = 0;
		relations[3][13][1] = 0;
		relations[3][13][2] = 0;
		//d1
		relations[4][0][1] = 1;
		relations[4][0][2] = 4;
		relations[4][1][1] = 2;
		relations[4][1][2] = 4;
		relations[4][2][1] = 0;
		relations[4][2][2] = 0;
		relations[4][3][1] = 1;
		relations[4][3][2] = 3;
		relations[4][4][1] = 1;
		relations[4][4][2] = 5;
		relations[4][5][1] = 0;
		relations[4][5][2] = 0;
		relations[4][6][1] = 0;
		relations[4][6][2] = 0;
		relations[4][7][1] = 2;
		relations[4][7][2] = 3;
		relations[4][8][1] = 2;
		relations[4][8][2] = 5;
		relations[4][9][1] = 0;
		relations[4][9][2] = 0;
		relations[4][10][1] = 0;
		relations[4][10][2] = 0;
		relations[4][11][1] = 0;
		relations[4][11][2] = 0;
		relations[4][12][1] = 0;
		relations[4][12][2] = 0;
		relations[4][13][1] = 0;
		relations[4][13][2] = 0;
		//a2
		relations[5][0][1] = 2;
		relations[5][0][2] = 1;
		relations[5][1][1] = 3;
		relations[5][1][2] = 1;
		relations[5][2][1] = 1;
		relations[5][2][2] = 1;
		relations[5][3][1] = 0;
		relations[5][3][2] = 0;
		relations[5][4][1] = 2;
		relations[5][4][2] = 2;
		relations[5][5][1] = 0;
		relations[5][5][2] = 0;
		relations[5][6][1] = 1;
		relations[5][6][2] = 2;
		relations[5][7][1] = 0;
		relations[5][7][2] = 0;
		relations[5][8][1] = 3;
		relations[5][8][2] = 2;
		relations[5][9][1] = 0;
		relations[5][9][2] = 0;
		relations[5][10][1] = 0;
		relations[5][10][2] = 0;
		relations[5][11][1] = 0;
		relations[5][11][2] = 0;
		relations[5][12][1] = 0;
		relations[5][12][2] = 0;
		relations[5][13][1] = 0;
		relations[5][13][2] = 0;
		//b2
		relations[6][0][1] = 2;
		relations[6][0][2] = 2;
		relations[6][1][1] = 3;
		relations[6][1][2] = 2;
		relations[6][2][1] = 1;
		relations[6][2][2] = 2;
		relations[6][3][1] = 2;
		relations[6][3][2] = 1;
		relations[6][4][1] = 2;
		relations[6][4][2] = 3;
		relations[6][5][1] = 1;
		relations[6][5][2] = 1;
		relations[6][6][1] = 1;
		relations[6][6][2] = 3;
		relations[6][7][1] = 3;
		relations[6][7][2] = 1;
		relations[6][8][1] = 3;
		relations[6][8][2] = 3;
		relations[6][9][1] = 0;
		relations[6][9][2] = 0;
		relations[6][10][1] = 0;
		relations[6][10][2] = 0;
		relations[6][11][1] = 0;
		relations[6][11][2] = 0;
		relations[6][12][1] = 0;
		relations[6][12][2] = 0;
		relations[6][13][1] = 0;
		relations[6][13][2] = 0;
		//c2
		relations[7][0][1] = 2;
		relations[7][0][2] = 3;
		relations[7][1][1] = 3;
		relations[7][1][2] = 3;
		relations[7][2][1] = 1;
		relations[7][2][2] = 3;
		relations[7][3][1] = 2;
		relations[7][3][2] = 2;
		relations[7][4][1] = 2;
		relations[7][4][2] = 4;
		relations[7][5][1] = 1;
		relations[7][5][2] = 2;
		relations[7][6][1] = 1;
		relations[7][6][2] = 4;
		relations[7][7][1] = 3;
		relations[7][7][2] = 2;
		relations[7][8][1] = 3;
		relations[7][8][2] = 4;
		relations[7][9][1] = 0;
		relations[7][9][2] = 0;
		relations[7][10][1] = 0;
		relations[7][10][2] = 0;
		relations[7][11][1] = 0;
		relations[7][11][2] = 0;
		relations[7][12][1] = 0;
		relations[7][12][2] = 0;
		relations[7][13][1] = 0;
		relations[7][13][2] = 0;
		//d2
		relations[8][0][1] = 2;
		relations[8][0][2] = 4;
		relations[8][1][1] = 3;
		relations[8][1][2] = 4;
		relations[8][2][1] = 1;
		relations[8][2][2] = 4;
		relations[8][3][1] = 2;
		relations[8][3][2] = 3;
		relations[8][4][1] = 2;
		relations[8][4][2] = 5;
		relations[8][5][1] = 1;
		relations[8][5][2] = 3;
		relations[8][6][1] = 1;
		relations[8][6][2] = 5;
		relations[8][7][1] = 3;
		relations[8][7][2] = 3;
		relations[8][8][1] = 3;
		relations[8][8][2] = 5;
		relations[8][9][1] = 0;
		relations[8][9][2] = 0;
		relations[8][10][1] = 0;
		relations[8][10][2] = 0;
		relations[8][11][1] = 0;
		relations[8][11][2] = 0;
		relations[8][12][1] = 0;
		relations[8][12][2] = 0;
		relations[8][13][1] = 0;
		relations[8][13][2] = 0;
		//a3
		relations[9][0][1] = 3;
		relations[9][0][2] = 1;
		relations[9][1][1] = 4;
		relations[9][1][2] = 1;
		relations[9][2][1] = 2;
		relations[9][2][2] = 1;
		relations[9][3][1] = 0;
		relations[9][3][2] = 0;
		relations[9][4][1] = 3;
		relations[9][4][2] = 2;
		relations[9][5][1] = 0;
		relations[9][5][2] = 0;
		relations[9][6][1] = 2;
		relations[9][6][2] = 2;
		relations[9][7][1] = 0;
		relations[9][7][2] = 0;
		relations[9][8][1] = 4;
		relations[9][8][2] = 2;
		relations[9][9][1] = 0;
		relations[9][9][2] = 0;
		relations[9][10][1] = 0;
		relations[9][10][2] = 0;
		relations[9][11][1] = 0;
		relations[9][11][2] = 0;
		relations[9][12][1] = 0;
		relations[9][12][2] = 0;
		relations[9][13][1] = 0;
		relations[9][13][2] = 0;
		//b3
		relations[10][0][1] = 3;
		relations[10][0][2] = 2;
		relations[10][1][1] = 4;
		relations[10][1][2] = 2;
		relations[10][2][1] = 2;
		relations[10][2][2] = 2;
		relations[10][3][1] = 3;
		relations[10][3][2] = 1;
		relations[10][4][1] = 3;
		relations[10][4][2] = 3;
		relations[10][5][1] = 2;
		relations[10][5][2] = 1;
		relations[10][6][1] = 2;
		relations[10][6][2] = 3;
		relations[10][7][1] = 4;
		relations[10][7][2] = 1;
		relations[10][8][1] = 4;
		relations[10][8][2] = 3;
		relations[10][9][1] = 0;
		relations[10][9][2] = 0;
		relations[10][10][1] = 0;
		relations[10][10][2] = 0;
		relations[10][11][1] = 0;
		relations[10][11][2] = 0;
		relations[10][12][1] = 0;
		relations[10][12][2] = 0;
		relations[10][13][1] = 0;
		relations[10][13][2] = 0;
		//c3
		relations[11][0][1] = 3;
		relations[11][0][2] = 3;
		relations[11][1][1] = 4;
		relations[11][1][2] = 3;
		relations[11][2][1] = 2;
		relations[11][2][2] = 3;
		relations[11][3][1] = 3;
		relations[11][3][2] = 2;
		relations[11][4][1] = 3;
		relations[11][4][2] = 4;
		relations[11][5][1] = 2;
		relations[11][5][2] = 2;
		relations[11][6][1] = 2;
		relations[11][6][2] = 4;
		relations[11][7][1] = 4;
		relations[11][7][2] = 2;
		relations[11][8][1] = 4;
		relations[11][8][2] = 4;
		relations[11][9][1] = 0;
		relations[11][9][2] = 0;
		relations[11][10][1] = 0;
		relations[11][10][2] = 0;
		relations[11][11][1] = 0;
		relations[11][11][2] = 0;
		relations[11][12][1] = 0;
		relations[11][12][2] = 0;
		relations[11][13][1] = 0;
		relations[11][13][2] = 0;
		//d3
		relations[12][0][1] = 3;
		relations[12][0][2] = 4;
		relations[12][1][1] = 4;
		relations[12][1][2] = 4;
		relations[12][2][1] = 2;
		relations[12][2][2] = 4;
		relations[12][3][1] = 3;
		relations[12][3][2] = 3;
		relations[12][4][1] = 3;
		relations[12][4][2] = 5;
		relations[12][5][1] = 2;
		relations[12][5][2] = 3;
		relations[12][6][1] = 2;
		relations[12][6][2] = 5;
		relations[12][7][1] = 4;
		relations[12][7][2] = 3;
		relations[12][8][1] = 4;
		relations[12][8][2] = 5;
		relations[12][9][1] = 0;
		relations[12][9][2] = 0;
		relations[12][10][1] = 0;
		relations[12][10][2] = 0;
		relations[12][11][1] = 0;
		relations[12][11][2] = 0;
		relations[12][12][1] = 0;
		relations[12][12][2] = 0;
		relations[12][13][1] = 0;
		relations[12][13][2] = 0;
		//a4
		relations[13][0][1] = 4;
		relations[13][0][2] = 1;
		relations[13][1][1] = 5;
		relations[13][1][2] = 1;
		relations[13][2][1] = 3;
		relations[13][2][2] = 1;
		relations[13][3][1] = 0;
		relations[13][3][2] = 0;
		relations[13][4][1] = 4;
		relations[13][4][2] = 2;
		relations[13][5][1] = 0;
		relations[13][5][2] = 0;
		relations[13][6][1] = 3;
		relations[13][6][2] = 2;
		relations[13][7][1] = 0;
		relations[13][7][2] = 0;
		relations[13][8][1] = 5;
		relations[13][8][2] = 2;
		relations[13][9][1] = 0;
		relations[13][9][2] = 0;
		relations[13][10][1] = 0;
		relations[13][10][2] = 0;
		relations[13][11][1] = 0;
		relations[13][11][2] = 0;
		relations[13][12][1] = 0;
		relations[13][12][2] = 0;
		relations[13][13][1] = 0;
		relations[13][13][2] = 0;
		//b4
		relations[14][0][1] = 4;
		relations[14][0][2] = 2;
		relations[14][1][1] = 5;
		relations[14][1][2] = 2;
		relations[14][2][1] = 3;
		relations[14][2][2] = 2;
		relations[14][3][1] = 4;
		relations[14][3][2] = 1;
		relations[14][4][1] = 4;
		relations[14][4][2] = 3;
		relations[14][5][1] = 3;
		relations[14][5][2] = 1;
		relations[14][6][1] = 3;
		relations[14][6][2] = 3;
		relations[14][7][1] = 5;
		relations[14][7][2] = 1;
		relations[14][8][1] = 5;
		relations[14][8][2] = 3;
		relations[14][9][1] = 0;
		relations[14][9][2] = 0;
		relations[14][10][1] = 0;
		relations[14][10][2] = 0;
		relations[14][11][1] = 0;
		relations[14][11][2] = 0;
		relations[14][12][1] = 0;
		relations[14][12][2] = 0;
		relations[14][13][1] = 0;
		relations[14][13][2] = 0;
		//c4
		relations[15][0][1] = 4;
		relations[15][0][2] = 3;
		relations[15][1][1] = 5;
		relations[15][1][2] = 3;
		relations[15][2][1] = 3;
		relations[15][2][2] = 3;
		relations[15][3][1] = 4;
		relations[15][3][2] = 2;
		relations[15][4][1] = 4;
		relations[15][4][2] = 4;
		relations[15][5][1] = 3;
		relations[15][5][2] = 2;
		relations[15][6][1] = 3;
		relations[15][6][2] = 4;
		relations[15][7][1] = 5;
		relations[15][7][2] = 2;
		relations[15][8][1] = 5;
		relations[15][8][2] = 4;
		relations[15][9][1] = 0;
		relations[15][9][2] = 0;
		relations[15][10][1] = 0;
		relations[15][10][2] = 0; 
		relations[15][11][1] = 0;
		relations[15][11][2] = 0;
		relations[15][12][1] = 0;
		relations[15][12][2] = 0;
		relations[15][13][1] = 0;
		relations[15][13][2] = 0;
		//d4
		relations[16][0][1] = 4;
		relations[16][0][2] = 4;
		relations[16][1][1] = 5;
		relations[16][1][2] = 4;
		relations[16][2][1] = 3;
		relations[16][2][2] = 4;
		relations[16][3][1] = 4;
		relations[16][3][2] = 3;
		relations[16][4][1] = 4;
		relations[16][4][2] = 5;
		relations[16][5][1] = 3;
		relations[16][5][2] = 3;
		relations[16][6][1] = 3;
		relations[16][6][2] = 5;
		relations[16][7][1] = 5;
		relations[16][7][2] = 3;
		relations[16][8][1] = 0;
		relations[16][8][2] = 0;
		relations[16][9][1] = 9;
		relations[16][9][2] = 9;
		relations[16][10][1] = 5;
		relations[16][10][2] = 9;
		relations[16][11][1] = 0;
		relations[16][11][2] = 0;
		relations[16][12][1] = 0;
		relations[16][12][2] = 0;
		relations[16][13][1] = 9;
		relations[16][13][2] = 5;
		//e1
		relations[17][0][1] = 1;
		relations[17][0][2] = 5;
		relations[17][1][1] = 2;
		relations[17][1][2] = 5;
		relations[17][2][1] = 0;
		relations[17][2][2] = 0;
		relations[17][3][1] = 1;
		relations[17][3][2] = 4;
		relations[17][4][1] = 1;
		relations[17][4][2] = 6;
		relations[17][5][1] = 0;
		relations[17][5][2] = 0;
		relations[17][6][1] = 0;
		relations[17][6][2] = 0;
		relations[17][7][1] = 2;
		relations[17][7][2] = 4;
		relations[17][8][1] = 2;
		relations[17][8][2] = 6;
		relations[17][9][1] = 0;
		relations[17][9][2] = 0;
		relations[17][10][1] = 0;
		relations[17][10][2] = 0;
		relations[17][11][1] = 0;
		relations[17][11][2] = 0;
		relations[17][12][1] = 0;
		relations[17][12][2] = 0;
		relations[17][13][1] = 0;
		relations[17][13][2] = 0;
		//f1
		relations[18][0][1] = 1;
		relations[18][0][2] = 6;
		relations[18][1][1] = 2;
		relations[18][1][2] = 6;
		relations[18][2][1] = 0;
		relations[18][2][2] = 0;
		relations[18][3][1] = 1;
		relations[18][3][2] = 5;
		relations[18][4][1] = 1;
		relations[18][4][2] = 7;
		relations[18][5][1] = 0;
		relations[18][5][2] = 0;
		relations[18][6][1] = 0;
		relations[18][6][2] = 0;
		relations[18][7][1] = 2;
		relations[18][7][2] = 5;
		relations[18][8][1] = 2;
		relations[18][8][2] = 7;
		relations[18][9][1] = 0;
		relations[18][9][2] = 0;
		relations[18][10][1] = 0;
		relations[18][10][2] = 0;
		relations[18][11][1] = 0;
		relations[18][11][2] = 0;
		relations[18][12][1] = 0;
		relations[18][12][2] = 0;
		relations[18][13][1] = 0;
		relations[18][13][2] = 0;
		//g1
		relations[19][0][1] = 1;
		relations[19][0][2] = 7;
		relations[19][1][1] = 2;
		relations[19][1][2] = 7;
		relations[19][2][1] = 0;
		relations[19][2][2] = 0;
		relations[19][3][1] = 1;
		relations[19][3][2] = 6;
		relations[19][4][1] = 1;
		relations[19][4][2] = 8;
		relations[19][5][1] = 0;
		relations[19][5][2] = 0;
		relations[19][6][1] = 0;
		relations[19][6][2] = 0;
		relations[19][7][1] = 2;
		relations[19][7][2] = 6;
		relations[19][8][1] = 2;
		relations[19][8][2] = 8;
		relations[19][9][1] = 0;
		relations[19][9][2] = 0;
		relations[19][10][1] = 0;
		relations[19][10][2] = 0;
		relations[19][11][1] = 0;
		relations[19][11][2] = 0;
		relations[19][12][1] = 0;
		relations[19][12][2] = 0;
		relations[19][13][1] = 0;
		relations[19][13][2] = 0;
		//h1
		relations[20][0][1] = 1;
		relations[20][0][2] = 8;
		relations[20][1][1] = 2;
		relations[20][1][2] = 8;
		relations[20][2][1] = 0;
		relations[20][2][2] = 0;
		relations[20][3][1] = 1;
		relations[20][3][2] = 7;
		relations[20][4][1] = 0;
		relations[20][4][2] = 0;
		relations[20][5][1] = 0;
		relations[20][5][2] = 0;
		relations[20][6][1] = 0;
		relations[20][6][2] = 0;
		relations[20][7][1] = 2;
		relations[20][7][2] = 7;
		relations[20][8][1] = 0;
		relations[20][8][2] = 0;
		relations[20][9][1] = 0;
		relations[20][9][2] = 0;
		relations[20][10][1] = 0;
		relations[20][10][2] = 0;
		relations[20][11][1] = 0;
		relations[20][11][2] = 0;
		relations[20][12][1] = 0;
		relations[20][12][2] = 0;
		relations[20][13][1] = 0;
		relations[20][13][2] = 0;
		//e2
		relations[21][0][1] = 2;
		relations[21][0][2] = 5;
		relations[21][1][1] = 3;
		relations[21][1][2] = 5;
		relations[21][2][1] = 1;
		relations[21][2][2] = 5;
		relations[21][3][1] = 2;
		relations[21][3][2] = 4;
		relations[21][4][1] = 2;
		relations[21][4][2] = 6;
		relations[21][5][1] = 1;
		relations[21][5][2] = 4;
		relations[21][6][1] = 1;
		relations[21][6][2] = 6;
		relations[21][7][1] = 3;
		relations[21][7][2] = 4;
		relations[21][8][1] = 3;
		relations[21][8][2] = 6;
		relations[21][9][1] = 0;
		relations[21][9][2] = 0;
		relations[21][10][1] = 0;
		relations[21][10][2] = 0;
		relations[21][11][1] = 0;
		relations[21][11][2] = 0;
		relations[21][12][1] = 0;
		relations[21][12][2] = 0;
		relations[21][13][1] = 0;
		relations[21][13][2] = 0;
		//f2
		relations[22][0][1] = 2;
		relations[22][0][2] = 6;
		relations[22][1][1] = 3;
		relations[22][1][2] = 6;
		relations[22][2][1] = 1;
		relations[22][2][2] = 6;
		relations[22][3][1] = 2;
		relations[22][3][2] = 5;
		relations[22][4][1] = 2;
		relations[22][4][2] = 7;
		relations[22][5][1] = 1;
		relations[22][5][2] = 5;
		relations[22][6][1] = 1;
		relations[22][6][2] = 7;
		relations[22][7][1] = 3;
		relations[22][7][2] = 5;
		relations[22][8][1] = 3;
		relations[22][8][2] = 7;
		relations[22][9][1] = 0;
		relations[22][9][2] = 0;
		relations[22][10][1] = 0;
		relations[22][10][2] = 0;
		relations[22][11][1] = 0;
		relations[22][11][2] = 0;
		relations[22][12][1] = 0;
		relations[22][12][2] = 0;
		relations[22][13][1] = 0;
		relations[22][13][2] = 0;
		//g2
		relations[23][0][1] = 2;
		relations[23][0][2] = 7;
		relations[23][1][1] = 3;
		relations[23][1][2] = 7;
		relations[23][2][1] = 1;
		relations[23][2][2] = 7;
		relations[23][3][1] = 2;
		relations[23][3][2] = 6;
		relations[23][4][1] = 2;
		relations[23][4][2] = 8;
		relations[23][5][1] = 1;
		relations[23][5][2] = 6;
		relations[23][6][1] = 1;
		relations[23][6][2] = 8;
		relations[23][7][1] = 3;
		relations[23][7][2] = 6;
		relations[23][8][1] = 3;
		relations[23][8][2] = 8;
		relations[23][9][1] = 0;
		relations[23][9][2] = 0;
		relations[23][10][1] = 0;
		relations[23][10][2] = 0;
		relations[23][11][1] = 0;
		relations[23][11][2] = 0;
		relations[23][12][1] = 0;
		relations[23][12][2] = 0;
		relations[23][13][1] = 0;
		relations[23][13][2] = 0;
		//h2
		relations[24][0][1] = 2;
		relations[24][0][2] = 8;
		relations[24][1][1] = 3;
		relations[24][1][2] = 8;
		relations[24][2][1] = 1;
		relations[24][2][2] = 8;
		relations[24][3][1] = 2;
		relations[24][3][2] = 7;
		relations[24][4][1] = 0;
		relations[24][4][2] = 0;
		relations[24][5][1] = 1;
		relations[24][5][2] = 7;
		relations[24][6][1] = 0;
		relations[24][6][2] = 0;
		relations[24][7][1] = 3;
		relations[24][7][2] = 7;
		relations[24][8][1] = 0;
		relations[24][8][2] = 0;
		relations[24][9][1] = 0;
		relations[24][9][2] = 0;
		relations[24][10][1] = 0;
		relations[24][10][2] = 0;
		relations[24][11][1] = 0;
		relations[24][11][2] = 0;
		relations[24][12][1] = 0;
		relations[24][12][2] = 0;
		relations[24][13][1] = 0;
		relations[24][13][2] = 0;
		//e3
		relations[25][0][1] = 3;
		relations[25][0][2] = 5;
		relations[25][1][1] = 4;
		relations[25][1][2] = 5;
		relations[25][2][1] = 2;
		relations[25][2][2] = 5;
		relations[25][3][1] = 3;
		relations[25][3][2] = 4;
		relations[25][4][1] = 3;
		relations[25][4][2] = 6;
		relations[25][5][1] = 2;
		relations[25][5][2] = 4;
		relations[25][6][1] = 2;
		relations[25][6][2] = 6;
		relations[25][7][1] = 4;
		relations[25][7][2] = 4;
		relations[25][8][1] = 4;
		relations[25][8][2] = 6;
		relations[25][9][1] = 0;
		relations[25][9][2] = 0;
		relations[25][10][1] = 0;
		relations[25][10][2] = 0;
		relations[25][11][1] = 0;
		relations[25][11][2] = 0;
		relations[25][12][1] = 0;
		relations[25][12][2] = 0;
		relations[25][13][1] = 0;
		relations[25][13][2] = 0;
		//f3
		relations[26][0][1] = 3;
		relations[26][0][2] = 6;
		relations[26][1][1] = 4;
		relations[26][1][2] = 6;
		relations[26][2][1] = 2;
		relations[26][2][2] = 6;
		relations[26][3][1] = 3;
		relations[26][3][2] = 5;
		relations[26][4][1] = 3;
		relations[26][4][2] = 7;
		relations[26][5][1] = 2;
		relations[26][5][2] = 5;
		relations[26][6][1] = 2;
		relations[26][6][2] = 7;
		relations[26][7][1] = 4;
		relations[26][7][2] = 5;
		relations[26][8][1] = 4;
		relations[26][8][2] = 7;
		relations[26][9][1] = 0;
		relations[26][9][2] = 0;
		relations[26][10][1] = 0;
		relations[26][10][2] = 0;
		relations[26][11][1] = 0;
		relations[26][11][2] = 0;
		relations[26][12][1] = 0;
		relations[26][12][2] = 0;
		relations[26][13][1] = 0;
		relations[26][13][2] = 0;
		//g3
		relations[27][0][1] = 3;
		relations[27][0][2] = 7;
		relations[27][1][1] = 4;
		relations[27][1][2] = 7;
		relations[27][2][1] = 2;
		relations[27][2][2] = 7;
		relations[27][3][1] = 3;
		relations[27][3][2] = 6;
		relations[27][4][1] = 3;
		relations[27][4][2] = 8;
		relations[27][5][1] = 2;
		relations[27][5][2] = 6;
		relations[27][6][1] = 2;
		relations[27][6][2] = 8;
		relations[27][7][1] = 4;
		relations[27][7][2] = 6;
		relations[27][8][1] = 4;
		relations[27][8][2] = 8;
		relations[27][9][1] = 0;
		relations[27][9][2] = 0;
		relations[27][10][1] = 0;
		relations[27][10][2] = 0;
		relations[27][11][1] = 0;
		relations[27][11][2] = 0;
		relations[27][12][1] = 0;
		relations[27][12][2] = 0;
		relations[27][13][1] = 0;
		relations[27][13][2] = 0;
		//h3
		relations[28][0][1] = 3;
		relations[28][0][2] = 8;
		relations[28][1][1] = 4;
		relations[28][1][2] = 8;
		relations[28][2][1] = 2;
		relations[28][2][2] = 8;
		relations[28][3][1] = 3;
		relations[28][3][2] = 7;
		relations[28][4][1] = 0;
		relations[28][4][2] = 0;
		relations[28][5][1] = 2;
		relations[28][5][2] = 7;
		relations[28][6][1] = 0;
		relations[28][6][2] = 0;
		relations[28][7][1] = 4;
		relations[28][7][2] = 7;
		relations[28][8][1] = 0;
		relations[28][8][2] = 0;
		relations[28][9][1] = 0;
		relations[28][9][2] = 0;
		relations[28][10][1] = 0;
		relations[28][10][2] = 0;
		relations[28][11][1] = 0;
		relations[28][11][2] = 0;
		relations[28][12][1] = 0;
		relations[28][12][2] = 0;
		relations[28][13][1] = 0;
		relations[28][13][2] = 0;
		//e4
		relations[29][0][1] = 4;
		relations[29][0][2] = 5;
		relations[29][1][1] = 9;
		relations[29][1][2] = 5;
		relations[29][2][1] = 3;
		relations[29][2][2] = 5;
		relations[29][3][1] = 4;
		relations[29][3][2] = 4;
		relations[29][4][1] = 4;
		relations[29][4][2] = 6;
		relations[29][5][1] = 3;
		relations[29][5][2] = 4;
		relations[29][6][1] = 3;
		relations[29][6][2] = 6;
		relations[29][7][1] = 0;
		relations[29][7][2] = 0;
		relations[29][8][1] = 9;
		relations[29][8][2] = 6;
		relations[29][9][1] = 5;
		relations[29][9][2] = 9;
		relations[29][10][1] = 9;
		relations[29][10][2] = 9;
		relations[29][11][1] = 0;
		relations[29][11][2] = 0;
		relations[29][12][1] = 5;
		relations[29][12][2] = 4;
		relations[29][13][1] = 0;
		relations[29][13][2] = 0;
		//f4
		relations[30][0][1] = 4;
		relations[30][0][2] = 6;
		relations[30][1][1] = 9;
		relations[30][1][2] = 6;
		relations[30][2][1] = 3;
		relations[30][2][2] = 6;
		relations[30][3][1] = 4;
		relations[30][3][2] = 5;
		relations[30][4][1] = 4;
		relations[30][4][2] = 7;
		relations[30][5][1] = 3;
		relations[30][5][2] = 5;
		relations[30][6][1] = 3;
		relations[30][6][2] = 7;
		relations[30][7][1] = 9;
		relations[30][7][2] = 5;
		relations[30][8][1] = 9;
		relations[30][8][2] = 7;
		relations[30][9][1] = 0;
		relations[30][9][2] = 0;
		relations[30][10][1] = 0;
		relations[30][10][2] = 0;
		relations[30][11][1] = 0;
		relations[30][11][2] = 0;
		relations[30][12][1] = 0;
		relations[30][12][2] = 0;
		relations[30][13][1] = 0;
		relations[30][13][2] = 0;
		//g4
		relations[31][0][1] = 4;
		relations[31][0][2] = 7;
		relations[31][1][1] = 9;
		relations[31][1][2] = 7;
		relations[31][2][1] = 3;
		relations[31][2][2] = 7;
		relations[31][3][1] = 4;
		relations[31][3][2] = 6;
		relations[31][4][1] = 4;
		relations[31][4][2] = 8;
		relations[31][5][1] = 3;
		relations[31][5][2] = 6;
		relations[31][6][1] = 3;
		relations[31][6][2] = 8;
		relations[31][7][1] = 9;
		relations[31][7][2] = 6;
		relations[31][8][1] = 9;
		relations[31][8][2] = 8;
		relations[31][9][1] = 0;
		relations[31][9][2] = 0;
		relations[31][10][1] = 0;
		relations[31][10][2] = 0;
		relations[31][11][1] = 0;
		relations[31][11][2] = 0;
		relations[31][12][1] = 0;
		relations[31][12][2] = 0;
		relations[31][13][1] = 0;
		relations[31][13][2] = 0;
		//h4
		relations[32][0][1] = 4;
		relations[32][0][2] = 8;
		relations[32][1][1] = 9;
		relations[32][1][2] = 8;
		relations[32][2][1] = 3;
		relations[32][2][2] = 8;
		relations[32][3][1] = 4;
		relations[32][3][2] = 7;
		relations[32][4][1] = 0;
		relations[32][4][2] = 0;
		relations[32][5][1] = 3;
		relations[32][5][2] = 7;
		relations[32][6][1] = 0;
		relations[32][6][2] = 0;
		relations[32][7][1] = 9;
		relations[32][7][2] = 7;
		relations[32][8][1] = 0;
		relations[32][8][2] = 0;
		relations[32][9][1] = 0;
		relations[32][9][2] = 0;
		relations[32][10][1] = 0;
		relations[32][10][2] = 0;
		relations[32][11][1] = 0;
		relations[32][11][2] = 0;
		relations[32][12][1] = 0;
		relations[32][12][2] = 0;
		relations[32][13][1] = 0;
		relations[32][13][2] = 0;
		//a5
		relations[33][0][1] = 5;
		relations[33][0][2] = 1;
		relations[33][1][1] = 6;
		relations[33][1][2] = 1;
		relations[33][2][1] = 4;
		relations[33][2][2] = 1;
		relations[33][3][1] = 0;
		relations[33][3][2] = 0;
		relations[33][4][1] = 5;
		relations[33][4][2] = 2;
		relations[33][5][1] = 0;
		relations[33][5][2] = 0;
		relations[33][6][1] = 4;
		relations[33][6][2] = 2;
		relations[33][7][1] = 0;
		relations[33][7][2] = 0;
		relations[33][8][1] = 6;
		relations[33][8][2] = 2;
		relations[33][9][1] = 0;
		relations[33][9][2] = 0;
		relations[33][10][1] = 0;
		relations[33][10][2] = 0;
		relations[33][11][1] = 0;
		relations[33][11][2] = 0;
		relations[33][12][1] = 0;
		relations[33][12][2] = 0;
		relations[33][13][1] = 0;
		relations[33][13][2] = 0;
		//b5
		relations[34][0][1] = 5;
		relations[34][0][2] = 2;
		relations[34][1][1] = 6;
		relations[34][1][2] = 2;
		relations[34][2][1] = 4;
		relations[34][2][2] = 2;
		relations[34][3][1] = 5;
		relations[34][3][2] = 1;
		relations[34][4][1] = 5;
		relations[34][4][2] = 3;
		relations[34][5][1] = 4;
		relations[34][5][2] = 1;
		relations[34][6][1] = 4;
		relations[34][6][2] = 3;
		relations[34][7][1] = 6;
		relations[34][7][2] = 1;
		relations[34][8][1] = 6;
		relations[34][8][2] = 3;
		relations[34][9][1] = 0;
		relations[34][9][2] = 0;
		relations[34][10][1] = 0;
		relations[34][10][2] = 0;
		relations[34][11][1] = 0;
		relations[34][11][2] = 0;
		relations[34][12][1] = 0;
		relations[34][12][2] = 0;
		relations[34][13][1] = 0;
		relations[34][13][2] = 0;
		//c5
		relations[35][0][1] = 5;
		relations[35][0][2] = 3;
		relations[35][1][1] = 6;
		relations[35][1][2] = 3;
		relations[35][2][1] = 4;
		relations[35][2][2] = 3;
		relations[35][3][1] = 5;
		relations[35][3][2] = 2;
		relations[35][4][1] = 5;
		relations[35][4][2] = 4;
		relations[35][5][1] = 4;
		relations[35][5][2] = 2;
		relations[35][6][1] = 4;
		relations[35][6][2] = 4;
		relations[35][7][1] = 6;
		relations[35][7][2] = 2;
		relations[35][8][1] = 6;
		relations[35][8][2] = 4;
		relations[35][9][1] = 0;
		relations[35][9][2] = 0;
		relations[35][10][1] = 0;
		relations[35][10][2] = 0;
		relations[35][11][1] = 0;
		relations[35][11][2] = 0;
		relations[35][12][1] = 0;
		relations[35][12][2] = 0;
		relations[35][13][1] = 0;
		relations[35][13][2] = 0;
		//d5
		relations[36][0][1] = 5;
		relations[36][0][2] = 4;
		relations[36][1][1] = 6;
		relations[36][1][2] = 4;
		relations[36][2][1] = 4;
		relations[36][2][2] = 4;
		relations[36][3][1] = 5;
		relations[36][3][2] = 3;
		relations[36][4][1] = 5;
		relations[36][4][2] = 9;
		relations[36][5][1] = 4;
		relations[36][5][2] = 3;
		relations[36][6][1] = 0;
		relations[36][6][2] = 0;
		relations[36][7][1] = 6;
		relations[36][7][2] = 3;
		relations[36][8][1] = 6;
		relations[36][8][2] = 9;
		relations[36][9][1] = 9;
		relations[36][9][2] = 5;
		relations[36][10][1] = 0;
		relations[36][10][2] = 0;
		relations[36][11][1] = 4;
		relations[36][11][2] = 5;
		relations[36][12][1] = 0;
		relations[36][12][2] = 0;
		relations[36][13][1] = 9;
		relations[36][13][2] = 9;
		//a6
		relations[37][0][1] = 6;
		relations[37][0][2] = 1;
		relations[37][1][1] = 7;
		relations[37][1][2] = 1;
		relations[37][2][1] = 5;
		relations[37][2][2] = 1;
		relations[37][3][1] = 0;
		relations[37][3][2] = 0;
		relations[37][4][1] = 6;
		relations[37][4][2] = 2;
		relations[37][5][1] = 0;
		relations[37][5][2] = 0;
		relations[37][6][1] = 5;
		relations[37][6][2] = 2;
		relations[37][7][1] = 0;
		relations[37][7][2] = 0;
		relations[37][8][1] = 7;
		relations[37][8][2] = 2;
		relations[37][9][1] = 0;
		relations[37][9][2] = 0;
		relations[37][10][1] = 0;
		relations[37][10][2] = 0;
		relations[37][11][1] = 0;
		relations[37][11][2] = 0;
		relations[37][12][1] = 0;
		relations[37][12][2] = 0;
		relations[37][13][1] = 0;
		relations[37][13][2] = 0;
		//b6
		relations[38][0][1] = 6;
		relations[38][0][2] = 2;
		relations[38][1][1] = 7;
		relations[38][1][2] = 2;
		relations[38][2][1] = 5;
		relations[38][2][2] = 2;
		relations[38][3][1] = 6;
		relations[38][3][2] = 1;
		relations[38][4][1] = 6;
		relations[38][4][2] = 3;
		relations[38][5][1] = 5;
		relations[38][5][2] = 1;
		relations[38][6][1] = 5;
		relations[38][6][2] = 3;
		relations[38][7][1] = 7;
		relations[38][7][2] = 1;
		relations[38][8][1] = 7;
		relations[38][8][2] = 3;
		relations[38][9][1] = 0;
		relations[38][9][2] = 0;
		relations[38][10][1] = 0;
		relations[38][10][2] = 0;
		relations[38][11][1] = 0;
		relations[38][11][2] = 0;
		relations[38][12][1] = 0;
		relations[38][12][2] = 0;
		relations[38][13][1] = 0;
		relations[38][13][2] = 0;
		//c6
		relations[39][0][1] = 6;
		relations[39][0][2] = 3;
		relations[39][1][1] = 7;
		relations[39][1][2] = 3;
		relations[39][2][1] = 5;
		relations[39][2][2] = 3;
		relations[39][3][1] = 6;
		relations[39][3][2] = 2;
		relations[39][4][1] = 6;
		relations[39][4][2] = 4;
		relations[39][5][1] = 5;
		relations[39][5][2] = 2;
		relations[39][6][1] = 5;
		relations[39][6][2] = 4;
		relations[39][7][1] = 7;
		relations[39][7][2] = 2;
		relations[39][8][1] = 7;
		relations[39][8][2] = 4;
		relations[39][9][1] = 0;
		relations[39][9][2] = 0;
		relations[39][10][1] = 0;
		relations[39][10][2] = 0;
		relations[39][11][1] = 0;
		relations[39][11][2] = 0;
		relations[39][12][1] = 0;
		relations[39][12][2] = 0;
		relations[39][13][1] = 0;
		relations[39][13][2] = 0;
		//d6
		relations[40][0][1] = 6;
		relations[40][0][2] = 4;
		relations[40][1][1] = 7;
		relations[40][1][2] = 4;
		relations[40][2][1] = 5;
		relations[40][2][2] = 4;
		relations[40][3][1] = 6;
		relations[40][3][2] = 3;
		relations[40][4][1] = 6;
		relations[40][4][2] = 9;
		relations[40][5][1] = 5;
		relations[40][5][2] = 3;
		relations[40][6][1] = 5;
		relations[40][6][2] = 9;
		relations[40][7][1] = 7;
		relations[40][7][2] = 3;
		relations[40][8][1] = 7;
		relations[40][8][2] = 9;
		relations[40][9][1] = 0;
		relations[40][9][2] = 0;
		relations[40][10][1] = 0;
		relations[40][10][2] = 0;
		relations[40][11][1] = 0;
		relations[40][11][2] = 0;
		relations[40][12][1] = 0;
		relations[40][12][2] = 0;
		relations[40][13][1] = 0;
		relations[40][13][2] = 0;
		//a7
		relations[41][0][1] = 7;
		relations[41][0][2] = 1;
		relations[41][1][1] = 8;
		relations[41][1][2] = 1;
		relations[41][2][1] = 6;
		relations[41][2][2] = 1;
		relations[41][3][1] = 0;
		relations[41][3][2] = 0;
		relations[41][4][1] = 7;
		relations[41][4][2] = 2;
		relations[41][5][1] = 0;
		relations[41][5][2] = 0;
		relations[41][6][1] = 6;
		relations[41][6][2] = 2;
		relations[41][7][1] = 0;
		relations[41][7][2] = 0;
		relations[41][8][1] = 8;
		relations[41][8][2] = 2;
		relations[41][9][1] = 0;
		relations[41][9][2] = 0;
		relations[41][10][1] = 0;
		relations[41][10][2] = 0;
		relations[41][11][1] = 0;
		relations[41][11][2] = 0;
		relations[41][12][1] = 0;
		relations[41][12][2] = 0;
		relations[41][13][1] = 0;
		relations[41][13][2] = 0;
		//b7
		relations[42][0][1] = 7;
		relations[42][0][2] = 2;
		relations[42][1][1] = 8;
		relations[42][1][2] = 2;
		relations[42][2][1] = 6;
		relations[42][2][2] = 2;
		relations[42][3][1] = 7;
		relations[42][3][2] = 1;
		relations[42][4][1] = 7;
		relations[42][4][2] = 3;
		relations[42][5][1] = 6;
		relations[42][5][2] = 1;
		relations[42][6][1] = 6;
		relations[42][6][2] = 3;
		relations[42][7][1] = 8;
		relations[42][7][2] = 1;
		relations[42][8][1] = 8;
		relations[42][8][2] = 3;
		relations[42][9][1] = 0;
		relations[42][9][2] = 0;
		relations[42][10][1] = 0;
		relations[42][10][2] = 0;
		relations[42][11][1] = 0;
		relations[42][11][2] = 0;
		relations[42][12][1] = 0;
		relations[42][12][2] = 0;
		relations[42][13][1] = 0;
		relations[42][13][2] = 0;
		//c7
		relations[43][0][1] = 7;
		relations[43][0][2] = 3;
		relations[43][1][1] = 8;
		relations[43][1][2] = 3;
		relations[43][2][1] = 6;
		relations[43][2][2] = 3;
		relations[43][3][1] = 7;
		relations[43][3][2] = 2;
		relations[43][4][1] = 7;
		relations[43][4][2] = 4;
		relations[43][5][1] = 6;
		relations[43][5][2] = 2;
		relations[43][6][1] = 6;
		relations[43][6][2] = 4;
		relations[43][7][1] = 8;
		relations[43][7][2] = 4;
		relations[43][8][1] = 8;
		relations[43][8][2] = 2;
		relations[43][9][1] = 0;
		relations[43][9][2] = 0;
		relations[43][10][1] = 0;
		relations[43][10][2] = 0;
		relations[43][11][1] = 0;
		relations[43][11][2] = 0;
		relations[43][12][1] = 0;
		relations[43][12][2] = 0;
		relations[43][13][1] = 0;
		relations[43][13][2] = 0;
		//d7
		relations[44][0][1] = 7;
		relations[44][0][2] = 4;
		relations[44][1][1] = 8;
		relations[44][1][2] = 4;
		relations[44][2][1] = 6;
		relations[44][2][2] = 4;
		relations[44][3][1] = 7;
		relations[44][3][2] = 3;
		relations[44][4][1] = 7;
		relations[44][4][2] = 9;
		relations[44][5][1] = 6;
		relations[44][5][2] = 3;
		relations[44][6][1] = 6;
		relations[44][6][2] = 9;
		relations[44][7][1] = 8;
		relations[44][7][2] = 3;
		relations[44][8][1] = 8;
		relations[44][8][2] = 9;
		relations[44][9][1] = 0;
		relations[44][9][2] = 0;
		relations[44][10][1] = 0;
		relations[44][10][2] = 0;
		relations[44][11][1] = 0;
		relations[44][11][2] = 0;
		relations[44][12][1] = 0;
		relations[44][12][2] = 0;
		relations[44][13][1] = 0;
		relations[44][13][2] = 0;
		//a8
		relations[45][0][1] = 8;
		relations[45][0][2] = 1;
		relations[45][1][1] = 0;
		relations[45][1][2] = 0;
		relations[45][2][1] = 7;
		relations[45][2][2] = 1;
		relations[45][3][1] = 0;
		relations[45][3][2] = 0;
		relations[45][4][1] = 8;
		relations[45][4][2] = 2;
		relations[45][5][1] = 0;
		relations[45][5][2] = 0;
		relations[45][6][1] = 7;
		relations[45][6][2] = 2;
		relations[45][7][1] = 0;
		relations[45][7][2] = 0;
		relations[45][8][1] = 0;
		relations[45][8][2] = 0;
		relations[45][9][1] = 0;
		relations[45][9][2] = 0;
		relations[45][10][1] = 0;
		relations[45][10][2] = 0;
		relations[45][11][1] = 0;
		relations[45][11][2] = 0;
		relations[45][12][1] = 0;
		relations[45][12][2] = 0;
		relations[45][13][1] = 0;
		relations[45][13][2] = 0;
		//b8
		relations[46][0][1] = 8;
		relations[46][0][2] = 2;
		relations[46][1][1] = 0;
		relations[46][1][2] = 0;
		relations[46][2][1] = 7;
		relations[46][2][2] = 2;
		relations[46][3][1] = 8;
		relations[46][3][2] = 1;
		relations[46][4][1] = 8;
		relations[46][4][2] = 3;
		relations[46][5][1] = 7;
		relations[46][5][2] = 1;
		relations[46][6][1] = 7;
		relations[46][6][2] = 3;
		relations[46][7][1] = 0;
		relations[46][7][2] = 0;
		relations[46][8][1] = 0;
		relations[46][8][2] = 0;
		relations[46][9][1] = 0;
		relations[46][9][2] = 0;
		relations[46][10][1] = 0;
		relations[46][10][2] = 0;
		relations[46][11][1] = 0;
		relations[46][11][2] = 0;
		relations[46][12][1] = 0;
		relations[46][12][2] = 0;
		relations[46][13][1] = 0;
		relations[46][13][2] = 0;
		//c8
		relations[47][0][1] = 8;
		relations[47][0][2] = 3;
		relations[47][1][1] = 0;
		relations[47][1][2] = 0;
		relations[47][2][1] = 7;
		relations[47][2][2] = 3;
		relations[47][3][1] = 8;
		relations[47][3][2] = 2;
		relations[47][4][1] = 8;
		relations[47][4][2] = 4;
		relations[47][5][1] = 7;
		relations[47][5][2] = 2;
		relations[47][6][1] = 7;
		relations[47][6][2] = 4;
		relations[47][7][1] = 0;
		relations[47][7][2] = 0;
		relations[47][8][1] = 0;
		relations[47][8][2] = 0;
		relations[47][9][1] = 0;
		relations[47][9][2] = 0;
		relations[47][10][1] = 0;
		relations[47][10][2] = 0;
		relations[47][11][1] = 0;
		relations[47][11][2] = 0;
		relations[47][12][1] = 0;
		relations[47][12][2] = 0;
		relations[47][13][1] = 0;
		relations[47][13][2] = 0;
		//d8
		relations[48][0][1] = 8;
		relations[48][0][2] = 4;
		relations[48][1][1] = 0;
		relations[48][1][2] = 0;
		relations[48][2][1] = 7;
		relations[48][2][2] = 4;
		relations[48][3][1] = 8;
		relations[48][3][2] = 3;
		relations[48][4][1] = 8;
		relations[48][4][2] = 9;
		relations[48][5][1] = 7;
		relations[48][5][2] = 3;
		relations[48][6][1] = 7;
		relations[48][6][2] = 9;
		relations[48][7][1] = 0;
		relations[48][7][2] = 0;
		relations[48][8][1] = 0;
		relations[48][8][2] = 0;
		relations[48][9][1] = 0;
		relations[48][9][2] = 0;
		relations[48][10][1] = 0;
		relations[48][10][2] = 0;
		relations[48][11][1] = 0;
		relations[48][11][2] = 0;
		relations[48][12][1] = 0;
		relations[48][12][2] = 0;
		relations[48][13][1] = 0;
		relations[48][13][2] = 0;
		
		
		//i5 - Segment 4
		//Special Tile
		relations[49][0][1] = 5;	relations[49][0][2] = 9;
		relations[49][1][1] = 6;	relations[49][1][2] = 9;
		relations[49][2][1] = 9;	relations[49][2][2] = 9;
		relations[49][3][1] = 5;	relations[49][3][2] = 4;
		relations[49][4][1] = 5;	relations[49][4][2] = 10;
		relations[49][5][1] = 0;	relations[49][5][2] = 0;
		relations[49][6][1] = 9;	relations[49][6][2] = 10;
		relations[49][7][1] = 6;	relations[49][7][2] = 4;
		relations[49][8][1] = 6;	relations[49][8][2] = 10;
		relations[49][9][1] = 4;	relations[49][9][2] = 5;
		relations[49][10][1] = 0;	relations[49][10][2] = 0;
		relations[49][11][1] = 9;	relations[49][11][2] = 5;
		relations[49][12][1] = 4;	relations[49][12][2] = 4;
		relations[49][13][1] = 0;	relations[49][13][2] = 0;
		
		//j5
		relations[50][0][1] = 5;	relations[50][0][2] = 10;
		relations[50][1][1] = 6;	relations[50][1][2] = 10;
		relations[50][2][1] = 9;	relations[50][2][2] = 10;
		relations[50][3][1] = 5;	relations[50][3][2] = 9;
		relations[50][4][1] = 5;	relations[50][4][2] = 11;
		relations[50][5][1] = 9;	relations[50][5][2] = 9;
		relations[50][6][1] = 9;	relations[50][6][2] = 11;
		relations[50][7][1] = 6;	relations[50][7][2] = 9;
		relations[50][8][1] = 6;	relations[50][8][2] = 11;
		relations[50][9][1] = 0;	relations[50][9][2] = 0;
		relations[50][10][1] = 0;	relations[50][10][2] = 0;
		relations[50][11][1] = 0;	relations[50][11][2] = 0;
		relations[50][12][1] = 0;	relations[50][12][2] = 0;
		relations[50][13][1] = 0;	relations[50][13][2] = 0;
		
		//k5
		relations[51][0][1] = 5;	relations[51][0][2] = 11;
		relations[51][1][1] = 6;	relations[51][1][2] = 11;
		relations[51][2][1] = 9;	relations[51][2][2] = 11;
		relations[51][3][1] = 5;	relations[51][3][2] = 10;
		relations[51][4][1] = 5;	relations[51][4][2] = 12;
		relations[51][5][1] = 9;	relations[51][5][2] = 10;
		relations[51][6][1] = 9;	relations[51][6][2] = 12;
		relations[51][7][1] = 6;	relations[51][7][2] = 10;
		relations[51][8][1] = 6;	relations[51][8][2] = 12;
		relations[51][9][1] = 0;	relations[51][9][2] = 0;
		relations[51][10][1] = 0;	relations[51][10][2] = 0;
		relations[51][11][1] = 0;	relations[51][11][2] = 0;
		relations[51][12][1] = 0;	relations[51][12][2] = 0;
		relations[51][13][1] = 0;	relations[51][13][2] = 0;
		
		//l5
		relations[52][0][1] = 5;	relations[52][0][2] = 12;
		relations[52][1][1] = 6;	relations[52][1][2] = 12;
		relations[52][2][1] = 9;	relations[52][2][2] = 12;
		relations[52][3][1] = 5;	relations[52][3][2] = 11;
		relations[52][4][1] = 0;	relations[52][4][2] = 0;
		relations[52][5][1] = 9;	relations[52][5][2] = 11;
		relations[52][6][1] = 0;	relations[52][6][2] = 0;
		relations[52][7][1] = 6;	relations[52][7][2] = 11;
		relations[52][8][1] = 0;	relations[52][8][2] = 0;
		relations[52][9][1] = 0;	relations[52][9][2] = 0;
		relations[52][10][1] = 0;	relations[52][10][2] = 0;
		relations[52][11][1] = 0;	relations[52][11][2] = 0;
		relations[52][12][1] = 0;	relations[52][12][2] = 0;
		relations[52][13][1] = 0;	relations[52][13][2] = 0;
		
		//i6
		relations[53][0][1] = 6;	relations[53][0][2] = 9;
		relations[53][1][1] = 7;	relations[53][1][2] = 9;
		relations[53][2][1] = 5;	relations[53][2][2] = 9;
		relations[53][3][1] = 6;	relations[53][3][2] = 4;
		relations[53][4][1] = 6;	relations[53][4][2] = 10;
		relations[53][5][1] = 5;	relations[53][5][2] = 4;
		relations[53][6][1] = 5;	relations[53][6][2] = 10;
		relations[53][7][1] = 7;	relations[53][7][2] = 4;
		relations[53][8][1] = 7;	relations[53][8][2] = 10;
		relations[53][9][1] = 0;	relations[53][9][2] = 0;
		relations[53][10][1] = 0;	relations[53][10][2] = 0;
		relations[53][11][1] = 0;	relations[53][11][2] = 0;
		relations[53][12][1] = 0;	relations[53][12][2] = 0;
		relations[53][13][1] = 0;	relations[53][13][2] = 0;
		
		//j6
		relations[54][0][1] = 6;	relations[54][0][2] = 10;
		relations[54][1][1] = 7;	relations[54][1][2] = 10;
		relations[54][2][1] = 5;	relations[54][2][2] = 10;
		relations[54][3][1] = 6;	relations[54][3][2] = 9;
		relations[54][4][1] = 6;	relations[54][4][2] = 11;
		relations[54][5][1] = 5;	relations[54][5][2] = 9;
		relations[54][6][1] = 5;	relations[54][6][2] = 11;
		relations[54][7][1] = 7;	relations[54][7][2] = 9;
		relations[54][8][1] = 7;	relations[54][8][2] = 11;
		relations[54][9][1] = 0;	relations[54][9][2] = 0;
		relations[54][10][1] = 0;	relations[54][10][2] = 0;
		relations[54][11][1] = 0;	relations[54][11][2] = 0;
		relations[54][12][1] = 0;	relations[54][12][2] = 0;
		relations[54][13][1] = 0;	relations[54][13][2] = 0;
		
		//k6
		relations[55][0][1] = 6;	relations[55][0][2] = 11;
		relations[55][1][1] = 7;	relations[55][1][2] = 11;
		relations[55][2][1] = 5;	relations[55][2][2] = 11;
		relations[55][3][1] = 6;	relations[55][3][2] = 10;
		relations[55][4][1] = 6;	relations[55][4][2] = 12;
		relations[55][5][1] = 5;	relations[55][5][2] = 10;
		relations[55][6][1] = 5;	relations[55][6][2] = 12;
		relations[55][7][1] = 7;	relations[55][7][2] = 10;
		relations[55][8][1] = 7;	relations[55][8][2] = 12;
		relations[55][9][1] = 0;	relations[55][9][2] = 0;
		relations[55][10][1] = 0;	relations[55][10][2] = 0;
		relations[55][11][1] = 0;	relations[55][11][2] = 0;
		relations[55][12][1] = 0;	relations[55][12][2] = 0;
		relations[55][13][1] = 0;	relations[55][13][2] = 0;
		
		//l6
		relations[56][0][1] = 6;	relations[56][0][2] = 12;
		relations[56][1][1] = 7;	relations[56][1][2] = 12;
		relations[56][2][1] = 5;	relations[56][2][2] = 12;
		relations[56][3][1] = 6;	relations[56][3][2] = 11;
		relations[56][4][1] = 0;	relations[56][4][2] = 0;
		relations[56][5][1] = 5;	relations[56][5][2] = 11;
		relations[56][6][1] = 0;	relations[56][6][2] = 0;
		relations[56][7][1] = 7;	relations[56][7][2] = 11;
		relations[56][8][1] = 0;	relations[56][8][2] = 0;
		relations[56][9][1] = 0;	relations[56][9][2] = 0;
		relations[56][10][1] = 0;	relations[56][10][2] = 0;
		relations[56][11][1] = 0;	relations[56][11][2] = 0;
		relations[56][12][1] = 0;	relations[56][12][2] = 0;
		relations[56][13][1] = 0;	relations[56][13][2] = 0;
		
		//i7
		relations[57][0][1] = 7;	relations[57][0][2] = 9;
		relations[57][1][1] = 8;	relations[57][1][2] = 9;
		relations[57][2][1] = 6;	relations[57][2][2] = 9;
		relations[57][3][1] = 7;	relations[57][3][2] = 4;
		relations[57][4][1] = 7;	relations[57][4][2] = 10;
		relations[57][5][1] = 6;	relations[57][5][2] = 4;
		relations[57][6][1] = 6;	relations[57][6][2] = 10;
		relations[57][7][1] = 8;	relations[57][7][2] = 4;
		relations[57][8][1] = 8;	relations[57][8][2] = 10;
		relations[57][9][1] = 0;	relations[57][9][2] = 0;
		relations[57][10][1] = 0;	relations[57][10][2] = 0;
		relations[57][11][1] = 0;	relations[57][11][2] = 0;
		relations[57][12][1] = 0;	relations[57][12][2] = 0;
		relations[57][13][1] = 0;	relations[57][13][2] = 0;
		
		//j7
		relations[58][0][1] = 7;	relations[58][0][2] = 10;
		relations[58][1][1] = 8;	relations[58][1][2] = 10;
		relations[58][2][1] = 6;	relations[58][2][2] = 10;
		relations[58][3][1] = 7;	relations[58][3][2] = 9;
		relations[58][4][1] = 7;	relations[58][4][2] = 11;
		relations[58][5][1] = 6;	relations[58][5][2] = 9;
		relations[58][6][1] = 6;	relations[58][6][2] = 11;
		relations[58][7][1] = 8;	relations[58][7][2] = 9;
		relations[58][8][1] = 8;	relations[58][8][2] = 11;
		relations[58][9][1] = 0;	relations[58][9][2] = 0;
		relations[58][10][1] = 0;	relations[58][10][2] = 0;
		relations[58][11][1] = 0;	relations[58][11][2] = 0;
		relations[58][12][1] = 0;	relations[58][12][2] = 0;
		relations[58][13][1] = 0;	relations[58][13][2] = 0;
		
		//k7
		relations[59][0][1] = 7;	relations[59][0][2] = 11;
		relations[59][1][1] = 8;	relations[59][1][2] = 11;
		relations[59][2][1] = 6;	relations[59][2][2] = 11;
		relations[59][3][1] = 7;	relations[59][3][2] = 10;
		relations[59][4][1] = 7;	relations[59][4][2] = 12;
		relations[59][5][1] = 6;	relations[59][5][2] = 10;
		relations[59][6][1] = 6;	relations[59][6][2] = 12;
		relations[59][7][1] = 8;	relations[59][7][2] = 10;
		relations[59][8][1] = 8;	relations[59][8][2] = 12;
		relations[59][9][1] = 0;	relations[59][9][2] = 0;
		relations[59][10][1] = 0;	relations[59][10][2] = 0;
		relations[59][11][1] = 0;	relations[59][11][2] = 0;
		relations[59][12][1] = 0;	relations[59][12][2] = 0;
		relations[59][13][1] = 0;	relations[59][13][2] = 0;
		
		//l7
		relations[60][0][1] = 7;	relations[60][0][2] = 12;
		relations[60][1][1] = 8;	relations[60][1][2] = 12;
		relations[60][2][1] = 6;	relations[60][2][2] = 12;
		relations[60][3][1] = 7;	relations[60][3][2] = 11;
		relations[60][4][1] = 0;	relations[60][4][2] = 0;
		relations[60][5][1] = 6;	relations[60][5][2] = 11;
		relations[60][6][1] = 0;	relations[60][6][2] = 0;
		relations[60][7][1] = 8;	relations[60][7][2] = 11;
		relations[60][8][1] = 0;	relations[60][8][2] = 0;
		relations[60][9][1] = 0;	relations[60][9][2] = 0;
		relations[60][10][1] = 0;	relations[60][10][2] = 0;
		relations[60][11][1] = 0;	relations[60][11][2] = 0;
		relations[60][12][1] = 0;	relations[60][12][2] = 0;
		relations[60][13][1] = 0;	relations[60][13][2] = 0;
		
		//i8
		relations[61][0][1] = 8;	relations[61][0][2] = 9;
		relations[61][1][1] = 0;	relations[61][1][2] = 0;
		relations[61][2][1] = 7;	relations[61][2][2] = 9;
		relations[61][3][1] = 8;	relations[61][3][2] = 4;
		relations[61][4][1] = 8;	relations[61][4][2] = 10;
		relations[61][5][1] = 7;	relations[61][5][2] = 4;
		relations[61][6][1] = 7;	relations[61][6][2] = 10;
		relations[61][7][1] = 0;	relations[61][7][2] = 0;
		relations[61][8][1] = 0;	relations[61][8][2] = 0;
		relations[61][9][1] = 0;	relations[61][9][2] = 0;
		relations[61][10][1] = 0;	relations[61][10][2] = 0;
		relations[61][11][1] = 0;	relations[61][11][2] = 0;
		relations[61][12][1] = 0;	relations[61][12][2] = 0;
		relations[61][13][1] = 0;	relations[61][13][2] = 0;
		
		//j8
		relations[62][0][1] = 8;	relations[62][0][2] = 10;
		relations[62][1][1] = 0;	relations[62][1][2] = 0;
		relations[62][2][1] = 7;	relations[62][2][2] = 10;
		relations[62][3][1] = 8;	relations[62][3][2] = 9;
		relations[62][4][1] = 8;	relations[62][4][2] = 11;
		relations[62][5][1] = 7;	relations[62][5][2] = 9;
		relations[62][6][1] = 7;	relations[62][6][2] = 11;
		relations[62][7][1] = 0;	relations[62][7][2] = 0;
		relations[62][8][1] = 0;	relations[62][8][2] = 0;
		relations[62][9][1] = 0;	relations[62][9][2] = 0;
		relations[62][10][1] = 0;	relations[62][10][2] = 0;
		relations[62][11][1] = 0;	relations[62][11][2] = 0;
		relations[62][12][1] = 0;	relations[62][12][2] = 0;
		relations[62][13][1] = 0;	relations[62][13][2] = 0;
		
		//k8
		relations[63][0][1] = 8;	relations[63][0][2] = 11;
		relations[63][1][1] = 0;	relations[63][1][2] = 0;
		relations[63][2][1] = 7;	relations[63][2][2] = 11;
		relations[63][3][1] = 8;	relations[63][3][2] = 10;
		relations[63][4][1] = 8;	relations[63][4][2] = 12;
		relations[63][5][1] = 7;	relations[63][5][2] = 10;
		relations[63][6][1] = 7;	relations[63][6][2] = 12;
		relations[63][7][1] = 0;	relations[63][7][2] = 0;
		relations[63][8][1] = 0;	relations[63][8][2] = 0;
		relations[63][9][1] = 0;	relations[63][9][2] = 0;
		relations[63][10][1] = 0;	relations[63][10][2] = 0;
		relations[63][11][1] = 0;	relations[63][11][2] = 0;
		relations[63][12][1] = 0;	relations[63][12][2] = 0;
		relations[63][13][1] = 0;	relations[63][13][2] = 0;
		
		//l8
		relations[64][0][1] = 8;	relations[64][0][2] = 12;
		relations[64][1][1] = 0;	relations[64][1][2] = 0;
		relations[64][2][1] = 7;	relations[64][2][2] = 12;
		relations[64][3][1] = 8;	relations[64][3][2] = 11;
		relations[64][4][1] = 0;	relations[64][4][2] = 0;
		relations[64][5][1] = 7;	relations[64][5][2] = 11;
		relations[64][6][1] = 0;	relations[64][6][2] = 0;
		relations[64][7][1] = 0;	relations[64][7][2] = 0;
		relations[64][8][1] = 0;	relations[64][8][2] = 0;
		relations[64][9][1] = 0;	relations[64][9][2] = 0;
		relations[64][10][1] = 0;	relations[64][10][2] = 0;
		relations[64][11][1] = 0;	relations[64][11][2] = 0;
		relations[64][12][1] = 0;	relations[64][12][2] = 0;
		relations[64][13][1] = 0;	relations[64][13][2] = 0;
		
		//i9 - Segment 5
		//Special Tile
		relations[65][0][1] = 9;	relations[65][0][2] = 9;
		relations[65][1][1] = 10;	relations[65][1][2] = 9;
		relations[65][2][1] = 5;	relations[65][2][2] = 9;
		relations[65][3][1] = 9;	relations[65][3][2] = 10;
		relations[65][4][1] = 9;	relations[65][4][2] = 5;
		relations[65][5][1] = 5;	relations[65][5][2] = 10;
		relations[65][6][1] = 0;	relations[65][6][2] = 0;
		relations[65][7][1] = 10;	relations[65][7][2] = 10;
		relations[65][8][1] = 10;	relations[65][8][2] = 5;
		relations[65][9][1] = 4;	relations[65][9][2] = 4;
		relations[65][10][1] = 0;	relations[65][10][2] = 0;
		relations[65][11][1] = 5;	relations[65][11][2] = 4;
		relations[65][12][1] = 0;	relations[65][12][2] = 0;
		relations[65][13][1] = 4;	relations[65][13][2] = 5;
		
		//j9
		relations[66][0][1] = 9;	relations[66][0][2] = 10;
		relations[66][1][1] = 10;	relations[66][1][2] = 10;
		relations[66][2][1] = 5;	relations[66][2][2] = 10;
		relations[66][3][1] = 9;	relations[66][3][2] = 11;
		relations[66][4][1] = 9;	relations[66][4][2] = 9;
		relations[66][5][1] = 5;	relations[66][5][2] = 11;
		relations[66][6][1] = 5;	relations[66][6][2] = 9;
		relations[66][7][1] = 10;	relations[66][7][2] = 11;
		relations[66][8][1] = 10;	relations[66][8][2] = 9;
		relations[66][9][1] = 0;	relations[66][9][2] = 0;
		relations[66][10][1] = 0;	relations[66][10][2] = 0;
		relations[66][11][1] = 0;	relations[66][11][2] = 0;
		relations[66][12][1] = 0;	relations[66][12][2] = 0;
		relations[66][13][1] = 0;	relations[66][13][2] = 0;
		
		//k9
		relations[67][0][1] = 9;	relations[67][0][2] = 11;
		relations[67][1][1] = 10;	relations[67][1][2] = 11;
		relations[67][2][1] = 5;	relations[67][2][2] = 11;
		relations[67][3][1] = 9;	relations[67][3][2] = 12;
		relations[67][4][1] = 9;	relations[67][4][2] = 10;
		relations[67][5][1] = 5;	relations[67][5][2] = 12;
		relations[67][6][1] = 5;	relations[67][6][2] = 10;
		relations[67][7][1] = 10;	relations[67][7][2] = 12;
		relations[67][8][1] = 10;	relations[67][8][2] = 10;
		relations[67][9][1] = 0;	relations[67][9][2] = 0;
		relations[67][10][1] = 0;	relations[67][10][2] = 0;
		relations[67][11][1] = 0;	relations[67][11][2] = 0;
		relations[67][12][1] = 0;	relations[67][12][2] = 0;
		relations[67][13][1] = 0;	relations[67][13][2] = 0;
		
		//l9
		relations[68][0][1] = 9;	relations[68][0][2] = 12;
		relations[68][1][1] = 10;	relations[68][1][2] = 12;
		relations[68][2][1] = 5;	relations[68][2][2] = 12;
		relations[68][3][1] = 0;	relations[68][3][2] = 0;
		relations[68][4][1] = 9;	relations[68][4][2] = 11;
		relations[68][5][1] = 0;	relations[68][5][2] = 0;
		relations[68][6][1] = 5;	relations[68][6][2] = 11;
		relations[68][7][1] = 0;	relations[68][7][2] = 0;
		relations[68][8][1] = 10;	relations[68][8][2] = 11;
		relations[68][9][1] = 0;	relations[68][9][2] = 0;
		relations[68][10][1] = 0;	relations[68][10][2] = 0;
		relations[68][11][1] = 0;	relations[68][11][2] = 0;
		relations[68][12][1] = 0;	relations[68][12][2] = 0;
		relations[68][13][1] = 0;	relations[68][13][2] = 0;
		
		//i10
		relations[69][0][1] = 10;	relations[69][0][2] = 9;
		relations[69][1][1] = 11;	relations[69][1][2] = 9;
		relations[69][2][1] = 9;	relations[69][2][2] = 9;
		relations[69][3][1] = 10;	relations[69][3][2] = 10;
		relations[69][4][1] = 10;	relations[69][4][2] = 5;
		relations[69][5][1] = 9;	relations[69][5][2] = 10;
		relations[69][6][1] = 9;	relations[69][6][2] = 5;
		relations[69][7][1] = 11;	relations[69][7][2] = 10;
		relations[69][8][1] = 11;	relations[69][8][2] = 5;
		relations[69][9][1] = 0;	relations[69][9][2] = 0;
		relations[69][10][1] = 0;	relations[69][10][2] = 0;
		relations[69][11][1] = 0;	relations[69][11][2] = 0;
		relations[69][12][1] = 0;	relations[69][12][2] = 0;
		relations[69][13][1] = 0;	relations[69][13][2] = 0;
		
		//j10
		relations[70][0][1] = 10;	relations[70][0][2] = 10;
		relations[70][1][1] = 11;	relations[70][1][2] = 10;
		relations[70][2][1] = 9;	relations[70][2][2] = 10;
		relations[70][3][1] = 10;	relations[70][3][2] = 11;
		relations[70][4][1] = 10;	relations[70][4][2] = 9;
		relations[70][5][1] = 9;	relations[70][5][2] = 11;
		relations[70][6][1] = 9;	relations[70][6][2] = 9;
		relations[70][7][1] = 11;	relations[70][7][2] = 11;
		relations[70][8][1] = 11;	relations[70][8][2] = 9;
		relations[70][9][1] = 0;	relations[70][9][2] = 0;
		relations[70][10][1] = 0;	relations[70][10][2] = 0;
		relations[70][11][1] = 0;	relations[70][11][2] = 0;
		relations[70][12][1] = 0;	relations[70][12][2] = 0;
		relations[70][13][1] = 0;	relations[70][13][2] = 0;
		
		//k10
		relations[71][0][1] = 10;	relations[71][0][2] = 11;
		relations[71][1][1] = 11;	relations[71][1][2] = 11;
		relations[71][2][1] = 9;	relations[71][2][2] = 11;
		relations[71][3][1] = 10;	relations[71][3][2] = 12;
		relations[71][4][1] = 10;	relations[71][4][2] = 10;
		relations[71][5][1] = 9;	relations[71][5][2] = 12;
		relations[71][6][1] = 9;	relations[71][6][2] = 10;
		relations[71][7][1] = 11;	relations[71][7][2] = 12;
		relations[71][8][1] = 11;	relations[71][8][2] = 10;
		relations[71][9][1] = 0;	relations[71][9][2] = 0;
		relations[71][10][1] = 0;	relations[71][10][2] = 0;
		relations[71][11][1] = 0;	relations[71][11][2] = 0;
		relations[71][12][1] = 0;	relations[71][12][2] = 0;
		relations[71][13][1] = 0;	relations[71][13][2] = 0;
		
		//l10
		relations[72][0][1] = 10;	relations[72][0][2] = 12;
		relations[72][1][1] = 11;	relations[72][1][2] = 12;
		relations[72][2][1] = 9;	relations[72][2][2] = 12;
		relations[72][3][1] = 0;	relations[72][3][2] = 0;
		relations[72][4][1] = 10;	relations[72][4][2] = 11;
		relations[72][5][1] = 0;	relations[72][5][2] = 0;
		relations[72][6][1] = 9;	relations[72][6][2] = 11;
		relations[72][7][1] = 0;	relations[72][7][2] = 0;
		relations[72][8][1] = 11;	relations[72][8][2] = 11;
		relations[72][9][1] = 0;	relations[72][9][2] = 0;
		relations[72][10][1] = 0;	relations[72][10][2] = 0;
		relations[72][11][1] = 0;	relations[72][11][2] = 0;
		relations[72][12][1] = 0;	relations[72][12][2] = 0;
		relations[72][13][1] = 0;	relations[72][13][2] = 0;
		
		//i11
		relations[73][0][1] = 11;	relations[73][0][2] = 9;
		relations[73][1][1] = 12;	relations[73][1][2] = 9;
		relations[73][2][1] = 10;	relations[73][2][2] = 9;
		relations[73][3][1] = 11;	relations[73][3][2] = 10;
		relations[73][4][1] = 11;	relations[73][4][2] = 5;
		relations[73][5][1] = 10;	relations[73][5][2] = 10;
		relations[73][6][1] = 10;	relations[73][6][2] = 5;
		relations[73][7][1] = 12;	relations[73][7][2] = 10;
		relations[73][8][1] = 12;	relations[73][8][2] = 5;
		relations[73][9][1] = 0;	relations[73][9][2] = 0;
		relations[73][10][1] = 0;	relations[73][10][2] = 0;
		relations[73][11][1] = 0;	relations[73][11][2] = 0;
		relations[73][12][1] = 0;	relations[73][12][2] = 0;
		relations[73][13][1] = 0;	relations[73][13][2] = 0;
		
		//j11
		relations[74][0][1] = 11;	relations[74][0][2] = 10;
		relations[74][1][1] = 12;	relations[74][1][2] = 10;
		relations[74][2][1] = 10;	relations[74][2][2] = 10;
		relations[74][3][1] = 11;	relations[74][3][2] = 11;
		relations[74][4][1] = 11;	relations[74][4][2] = 9;
		relations[74][5][1] = 10;	relations[74][5][2] = 11;
		relations[74][6][1] = 10;	relations[74][6][2] = 9;
		relations[74][7][1] = 12;	relations[74][7][2] = 11;
		relations[74][8][1] = 12;	relations[74][8][2] = 9;
		relations[74][9][1] = 0;	relations[74][9][2] = 0;
		relations[74][10][1] = 0;	relations[74][10][2] = 0;
		relations[74][11][1] = 0;	relations[74][11][2] = 0;
		relations[74][12][1] = 0;	relations[74][12][2] = 0;
		relations[74][13][1] = 0;	relations[74][13][2] = 0;
		
		//k11
		relations[75][0][1] = 11;	relations[75][0][2] = 11;
		relations[75][1][1] = 12;	relations[75][1][2] = 11;
		relations[75][2][1] = 10;	relations[75][2][2] = 11;
		relations[75][3][1] = 11;	relations[75][3][2] = 12;
		relations[75][4][1] = 11;	relations[75][4][2] = 10;
		relations[75][5][1] = 10;	relations[75][5][2] = 12;
		relations[75][6][1] = 10;	relations[75][6][2] = 10;
		relations[75][7][1] = 12;	relations[75][7][2] = 12;
		relations[75][8][1] = 12;	relations[75][8][2] = 10;
		relations[75][9][1] = 0;	relations[75][9][2] = 0;
		relations[75][10][1] = 0;	relations[75][10][2] = 0;
		relations[75][11][1] = 0;	relations[75][11][2] = 0;
		relations[75][12][1] = 0;	relations[75][12][2] = 0;
		relations[75][13][1] = 0;	relations[75][13][2] = 0;
		
		//l11
		relations[76][0][1] = 11;	relations[76][0][2] = 12;
		relations[76][1][1] = 12;	relations[76][1][2] = 12;
		relations[76][2][1] = 10;	relations[76][2][2] = 12;
		relations[76][3][1] = 0;	relations[76][3][2] = 0;
		relations[76][4][1] = 11;	relations[76][4][2] = 11;
		relations[76][5][1] = 0;	relations[76][5][2] = 0;
		relations[76][6][1] = 10;	relations[76][6][2] = 11;
		relations[76][7][1] = 0;	relations[76][7][2] = 0;
		relations[76][8][1] = 12;	relations[76][8][2] = 11;
		relations[76][9][1] = 0;	relations[76][9][2] = 0;
		relations[76][10][1] = 0;	relations[76][10][2] = 0;
		relations[76][11][1] = 0;	relations[76][11][2] = 0;
		relations[76][12][1] = 0;	relations[76][12][2] = 0;
		relations[76][13][1] = 0;	relations[76][13][2] = 0;
		
		//i12
		relations[77][0][1] = 12;	relations[77][0][2] = 9;
		relations[77][1][1] = 0;	relations[77][1][2] = 0;
		relations[77][2][1] = 11;	relations[77][2][2] = 9;
		relations[77][3][1] = 12;	relations[77][3][2] = 10;
		relations[77][4][1] = 12;	relations[77][4][2] = 5;
		relations[77][5][1] = 11;	relations[77][5][2] = 10;
		relations[77][6][1] = 11;	relations[77][6][2] = 5;
		relations[77][7][1] = 0;	relations[77][7][2] = 0;
		relations[77][8][1] = 0;	relations[77][8][2] = 0;
		relations[77][9][1] = 0;	relations[77][9][2] = 0;
		relations[77][10][1] = 0;	relations[77][10][2] = 0;
		relations[77][11][1] = 0;	relations[77][11][2] = 0;
		relations[77][12][1] = 0;	relations[77][12][2] = 0;
		relations[77][13][1] = 0;	relations[77][13][2] = 0;
		
		//j12
		relations[78][0][1] = 12;	relations[78][0][2] = 10;
		relations[78][1][1] = 0;	relations[78][1][2] = 0;
		relations[78][2][1] = 11;	relations[78][2][2] = 10;
		relations[78][3][1] = 12;	relations[78][3][2] = 11;
		relations[78][4][1] = 12;	relations[78][4][2] = 9;
		relations[78][5][1] = 11;	relations[78][5][2] = 11;
		relations[78][6][1] = 11;	relations[78][6][2] = 9;
		relations[78][7][1] = 0;	relations[78][7][2] = 0;
		relations[78][8][1] = 0;	relations[78][8][2] = 0;
		relations[78][9][1] = 0;	relations[78][9][2] = 0;
		relations[78][10][1] = 0;	relations[78][10][2] = 0;
		relations[78][11][1] = 0;	relations[78][11][2] = 0;
		relations[78][12][1] = 0;	relations[78][12][2] = 0;
		relations[78][13][1] = 0;	relations[78][13][2] = 0;
		
		//k12
		relations[79][0][1] = 12;	relations[79][0][2] = 11;
		relations[79][1][1] = 0;	relations[79][1][2] = 0;
		relations[79][2][1] = 11;	relations[79][2][2] = 11;
		relations[79][3][1] = 12;	relations[79][3][2] = 12;
		relations[79][4][1] = 12;	relations[79][4][2] = 10;
		relations[79][5][1] = 11;	relations[79][5][2] = 12;
		relations[79][6][1] = 11;	relations[79][6][2] = 10;
		relations[79][7][1] = 0;	relations[79][7][2] = 0;
		relations[79][8][1] = 0;	relations[79][8][2] = 0;
		relations[79][9][1] = 0;	relations[79][9][2] = 0;
		relations[79][10][1] = 0;	relations[79][10][2] = 0;
		relations[79][11][1] = 0;	relations[79][11][2] = 0;
		relations[79][12][1] = 0;	relations[79][12][2] = 0;
		relations[79][13][1] = 0;	relations[79][13][2] = 0;
		
		//l12
		relations[80][0][1] = 12;	relations[80][0][2] = 12;
		relations[80][1][1] = 0;	relations[80][1][2] = 0;
		relations[80][2][1] = 11;	relations[80][2][2] = 12;
		relations[80][3][1] = 0;	relations[80][3][2] = 0;
		relations[80][4][1] = 12;	relations[80][4][2] = 11;
		relations[80][5][1] = 0;	relations[80][5][2] = 0;
		relations[80][6][1] = 11;	relations[80][6][2] = 11;
		relations[80][7][1] = 0;	relations[80][7][2] = 0;
		relations[80][8][1] = 0;	relations[80][8][2] = 0;
		relations[80][9][1] = 0;	relations[80][9][2] = 0;
		relations[80][10][1] = 0;	relations[80][10][2] = 0;
		relations[80][11][1] = 0;	relations[80][11][2] = 0;
		relations[80][12][1] = 0;	relations[80][12][2] = 0;
		relations[80][13][1] = 0;	relations[80][13][2] = 0;

		
		//e9 - Segment 6
		relations[81][0][1] = 9;	relations[81][0][2] = 5;
		relations[81][1][1] = 10;	relations[81][1][2] = 5;
		relations[81][2][1] = 4;	relations[81][2][2] = 5;
		relations[81][3][1] = 9;	relations[81][3][2] = 9;
		relations[81][4][1] = 9;	relations[81][4][2] = 6;
		relations[81][5][1] = 0;	relations[81][5][2] = 0;
		relations[81][6][1] = 4;	relations[81][6][2] = 6;
		relations[81][7][1] = 10;	relations[81][7][2] = 9;
		relations[81][8][1] = 10;	relations[81][8][2] = 6;
		relations[81][9][1] = 5;	relations[81][9][2] = 4;
		relations[81][10][1] = 0;	relations[81][10][2] = 0;
		relations[81][11][1] = 4;	relations[81][11][2] = 4;
		relations[81][12][1] = 5;	relations[81][12][2] = 9;
		relations[81][13][1] = 0;	relations[81][13][2] = 0;

		//f9
		relations[82][0][1] = 9;	relations[82][0][2] = 6;
		relations[82][1][1] = 10;	relations[82][1][2] = 6;
		relations[82][2][1] = 4;	relations[82][2][2] = 6;
		relations[82][3][1] = 9;	relations[82][3][2] = 5;
		relations[82][4][1] = 9;	relations[82][4][2] = 7;
		relations[82][5][1] = 4;	relations[82][5][2] = 5;
		relations[82][6][1] = 4;	relations[82][6][2] = 7;
		relations[82][7][1] = 10;	relations[82][7][2] = 5;
		relations[82][8][1] = 10;	relations[82][8][2] = 7;
		relations[82][9][1] = 0;	relations[82][9][2] = 0;
		relations[82][10][1] = 0;	relations[82][10][2] = 0;
		relations[82][11][1] = 0;	relations[82][11][2] = 0;
		relations[82][12][1] = 0;	relations[82][12][2] = 0;
		relations[82][13][1] = 0;	relations[82][13][2] = 0;

		//g9
		relations[83][0][1] = 9;	relations[83][0][2] = 7;
		relations[83][1][1] = 10;	relations[83][1][2] = 7;
		relations[83][2][1] = 4;	relations[83][2][2] = 7;
		relations[83][3][1] = 9;	relations[83][3][2] = 6;
		relations[83][4][1] = 9;	relations[83][4][2] = 8;
		relations[83][5][1] = 4;	relations[83][5][2] = 6;
		relations[83][6][1] = 4;	relations[83][6][2] = 8;
		relations[83][7][1] = 10;	relations[83][7][2] = 6;
		relations[83][8][1] = 10;	relations[83][8][2] = 8;
		relations[83][9][1] = 0;	relations[83][9][2] = 0;
		relations[83][10][1] = 0;	relations[83][10][2] = 0;
		relations[83][11][1] = 0;	relations[83][11][2] = 0;
		relations[83][12][1] = 0;	relations[83][12][2] = 0;
		relations[83][13][1] = 0;	relations[83][13][2] = 0;

		
		//h9
		relations[84][0][1] = 9;	relations[84][0][2] = 8;
		relations[84][1][1] = 10;	relations[84][1][2] = 8;
		relations[84][2][1] = 4;	relations[84][2][2] = 8;
		relations[84][3][1] = 9;	relations[84][3][2] = 7;
		relations[84][4][1] = 0;	relations[84][4][2] = 0;
		relations[84][5][1] = 4;	relations[84][5][2] = 7;
		relations[84][6][1] = 0;	relations[84][6][2] = 0;
		relations[84][7][1] = 10;	relations[84][7][2] = 7;
		relations[84][8][1] = 0;	relations[84][8][2] = 0;
		relations[84][9][1] = 0;	relations[84][9][2] = 0;
		relations[84][10][1] = 0;	relations[84][10][2] = 0;
		relations[84][11][1] = 0;	relations[84][11][2] = 0;
		relations[84][12][1] = 0;	relations[84][12][2] = 0;
		relations[84][13][1] = 0;	relations[84][13][2] = 0;

		//e10
		relations[85][0][1] = 10;	relations[85][0][2] = 5;
		relations[85][1][1] = 11;	relations[85][1][2] = 5;
		relations[85][2][1] = 9;	relations[85][2][2] = 5;
		relations[85][3][1] = 10;	relations[85][3][2] = 9;
		relations[85][4][1] = 10;	relations[85][4][2] = 6;
		relations[85][5][1] = 9;	relations[85][5][2] = 9;
		relations[85][6][1] = 9;	relations[85][6][2] = 6;
		relations[85][7][1] = 11;	relations[85][7][2] = 9;
		relations[85][8][1] = 11;	relations[85][8][2] = 6;
		relations[85][9][1] = 0;	relations[85][9][2] = 0;
		relations[85][10][1] = 0;	relations[85][10][2] = 0;
		relations[85][11][1] = 0;	relations[85][11][2] = 0;
		relations[85][12][1] = 0;	relations[85][12][2] = 0;
		relations[85][13][1] = 0;	relations[85][13][2] = 0;

		//f10
		relations[86][0][1] = 10;	relations[86][0][2] = 6;
		relations[86][1][1] = 11;	relations[86][1][2] = 6;
		relations[86][2][1] = 9;	relations[86][2][2] = 6;
		relations[86][3][1] = 10;	relations[86][3][2] = 5;
		relations[86][4][1] = 10;	relations[86][4][2] = 7;
		relations[86][5][1] = 9;	relations[86][5][2] = 5;
		relations[86][6][1] = 9;	relations[86][6][2] = 7;
		relations[86][7][1] = 11;	relations[86][7][2] = 5;
		relations[86][8][1] = 11;	relations[86][8][2] = 7;
		relations[86][9][1] = 0;	relations[86][9][2] = 0;
		relations[86][10][1] = 0;	relations[86][10][2] = 0;
		relations[86][11][1] = 0;	relations[86][11][2] = 0;
		relations[86][12][1] = 0;	relations[86][12][2] = 0;
		relations[86][13][1] = 0;	relations[86][13][2] = 0;

		//g10
		relations[87][0][1] = 10;	relations[87][0][2] = 7;
		relations[87][1][1] = 11;	relations[87][1][2] = 7;
		relations[87][2][1] = 9;	relations[87][2][2] = 7;
		relations[87][3][1] = 10;	relations[87][3][2] = 6;
		relations[87][4][1] = 10;	relations[87][4][2] = 8;
		relations[87][5][1] = 9;	relations[87][5][2] = 6;
		relations[87][6][1] = 9;	relations[87][6][2] = 8;
		relations[87][7][1] = 11;	relations[87][7][2] = 6;
		relations[87][8][1] = 11;	relations[87][8][2] = 8;
		relations[87][9][1] = 0;	relations[87][9][2] = 0;
		relations[87][10][1] = 0;	relations[87][10][2] = 0;
		relations[87][11][1] = 0;	relations[87][11][2] = 0;
		relations[87][12][1] = 0;	relations[87][12][2] = 0;
		relations[87][13][1] = 0;	relations[87][13][2] = 0;


		//h10
		relations[88][0][1] = 10;	relations[88][0][2] = 8;
		relations[88][1][1] = 11;	relations[88][1][2] = 8;
		relations[88][2][1] = 9;	relations[88][2][2] = 8;
		relations[88][3][1] = 10;	relations[88][3][2] = 7;
		relations[88][4][1] = 0;	relations[88][4][2] = 0;
		relations[88][5][1] = 9;	relations[88][5][2] = 7;
		relations[88][6][1] = 0;	relations[88][6][2] = 0;
		relations[88][7][1] = 11;	relations[88][7][2] = 7;
		relations[88][8][1] = 0;	relations[88][8][2] = 0;
		relations[88][9][1] = 0;	relations[88][9][2] = 0;
		relations[88][10][1] = 0;	relations[88][10][2] = 0;
		relations[88][11][1] = 0;	relations[88][11][2] = 0;
		relations[88][12][1] = 0;	relations[88][12][2] = 0;
		relations[88][13][1] = 0;	relations[88][13][2] = 0;

		//e11
		relations[89][0][1] = 11;	relations[89][0][2] = 5;
		relations[89][1][1] = 12;	relations[89][1][2] = 5;
		relations[89][2][1] = 10;	relations[89][2][2] = 5;
		relations[89][3][1] = 11;	relations[89][3][2] = 9;
		relations[89][4][1] = 11;	relations[89][4][2] = 6;
		relations[89][5][1] = 10;	relations[89][5][2] = 9;
		relations[89][6][1] = 10;	relations[89][6][2] = 6;
		relations[89][7][1] = 12;	relations[89][7][2] = 9;
		relations[89][8][1] = 12;	relations[89][8][2] = 6;
		relations[89][9][1] = 0;	relations[89][9][2] = 0;
		relations[89][10][1] = 0;	relations[89][10][2] = 0;
		relations[89][11][1] = 0;	relations[89][11][2] = 0;
		relations[89][12][1] = 0;	relations[89][12][2] = 0;
		relations[89][13][1] = 0;	relations[89][13][2] = 0;

		//f11
		relations[90][0][1] = 11;	relations[90][0][2] = 6;
		relations[90][1][1] = 12;	relations[90][1][2] = 6;
		relations[90][2][1] = 10;	relations[90][2][2] = 6;
		relations[90][3][1] = 11;	relations[90][3][2] = 5;
		relations[90][4][1] = 11;	relations[90][4][2] = 7;
		relations[90][5][1] = 10;	relations[90][5][2] = 5;
		relations[90][6][1] = 10;	relations[90][6][2] = 7;
		relations[90][7][1] = 12;	relations[90][7][2] = 5;
		relations[90][8][1] = 12;	relations[90][8][2] = 7;
		relations[90][9][1] = 0;	relations[90][9][2] = 0;
		relations[90][10][1] = 0;	relations[90][10][2] = 0;
		relations[90][11][1] = 0;	relations[90][11][2] = 0;
		relations[90][12][1] = 0;	relations[90][12][2] = 0;
		relations[90][13][1] = 0;	relations[90][13][2] = 0;

		//g11
		relations[91][0][1] = 11;	relations[91][0][2] = 7;
		relations[91][1][1] = 12;	relations[91][1][2] = 7;
		relations[91][2][1] = 10;	relations[91][2][2] = 7;
		relations[91][3][1] = 11;	relations[91][3][2] = 6;
		relations[91][4][1] = 11;	relations[91][4][2] = 8;
		relations[91][5][1] = 10;	relations[91][5][2] = 6;
		relations[91][6][1] = 10;	relations[91][6][2] = 8;
		relations[91][7][1] = 12;	relations[91][7][2] = 6;
		relations[91][8][1] = 12;	relations[91][8][2] = 8;
		relations[91][9][1] = 0;	relations[91][9][2] = 0;
		relations[91][10][1] = 0;	relations[91][10][2] = 0;
		relations[91][11][1] = 0;	relations[91][11][2] = 0;
		relations[91][12][1] = 0;	relations[91][12][2] = 0;
		relations[91][13][1] = 0;	relations[91][13][2] = 0;

		//h11
		relations[92][0][1] = 11;	relations[92][0][2] = 8;
		relations[92][1][1] = 12;	relations[92][1][2] = 8;
		relations[92][2][1] = 10;	relations[92][2][2] = 8;
		relations[92][3][1] = 11;	relations[92][3][2] = 7;
		relations[92][4][1] = 0;	relations[92][4][2] = 0;
		relations[92][5][1] = 10;	relations[92][5][2] = 7;
		relations[92][6][1] = 0;	relations[92][6][2] = 0;
		relations[92][7][1] = 12;	relations[92][7][2] = 7;
		relations[92][8][1] = 0;	relations[92][8][2] = 0;
		relations[92][9][1] = 0;	relations[92][9][2] = 0;
		relations[92][10][1] = 0;	relations[92][10][2] = 0;
		relations[92][11][1] = 0;	relations[92][11][2] = 0;
		relations[92][12][1] = 0;	relations[92][12][2] = 0;
		relations[92][13][1] = 0;	relations[92][13][2] = 0;

		//e12
		relations[93][0][1] = 12;	relations[93][0][2] = 5;
		relations[93][1][1] = 0;	relations[93][1][2] = 0;
		relations[93][2][1] = 11;	relations[93][2][2] = 5;
		relations[93][3][1] = 12;	relations[93][3][2] = 9;
		relations[93][4][1] = 12;	relations[93][4][2] = 6;
		relations[93][5][1] = 11;	relations[93][5][2] = 9;
		relations[93][6][1] = 11;	relations[93][6][2] = 6;
		relations[93][7][1] = 0;	relations[93][7][2] = 0;
		relations[93][8][1] = 0;	relations[93][8][2] = 0;
		relations[93][9][1] = 0;	relations[93][9][2] = 0;
		relations[93][10][1] = 0;	relations[93][10][2] = 0;
		relations[93][11][1] = 0;	relations[93][11][2] = 0;
		relations[93][12][1] = 0;	relations[93][12][2] = 0;
		relations[93][13][1] = 0;	relations[93][13][2] = 0;

		//f12
		relations[94][0][1] = 12;	relations[94][0][2] = 6;
		relations[94][1][1] = 0;	relations[94][1][2] = 0;
		relations[94][2][1] = 11;	relations[94][2][2] = 6;
		relations[94][3][1] = 12;	relations[94][3][2] = 5;
		relations[94][4][1] = 12;	relations[94][4][2] = 7;
		relations[94][5][1] = 11;	relations[94][5][2] = 5;
		relations[94][6][1] = 11;	relations[94][6][2] = 7;
		relations[94][7][1] = 0;	relations[94][7][2] = 0;
		relations[94][8][1] = 0;	relations[94][8][2] = 0;
		relations[94][9][1] = 0;	relations[94][9][2] = 0;
		relations[94][10][1] = 0;	relations[94][10][2] = 0;
		relations[94][11][1] = 0;	relations[94][11][2] = 0;
		relations[94][12][1] = 0;	relations[94][12][2] = 0;
		relations[94][13][1] = 0;	relations[94][13][2] = 0;

		//g12
		relations[95][0][1] = 12;	relations[95][0][2] = 7;
		relations[95][1][1] = 0;	relations[95][1][2] = 0;
		relations[95][2][1] = 11;	relations[95][2][2] = 7;
		relations[95][3][1] = 12;	relations[95][3][2] = 6;
		relations[95][4][1] = 12;	relations[95][4][2] = 8;
		relations[95][5][1] = 11;	relations[95][5][2] = 6;
		relations[95][6][1] = 11;	relations[95][6][2] = 8;
		relations[95][7][1] = 0;	relations[95][7][2] = 0;
		relations[95][8][1] = 0;	relations[95][8][2] = 0;
		relations[95][9][1] = 0;	relations[95][9][2] = 0;
		relations[95][10][1] = 0;	relations[95][10][2] = 0;
		relations[95][11][1] = 0;	relations[95][11][2] = 0;
		relations[95][12][1] = 0;	relations[95][12][2] = 0;
		relations[95][13][1] = 0;	relations[95][13][2] = 0;

		//h12
		relations[96][0][1] = 12;	relations[96][0][2] = 8;
		relations[96][1][1] = 0;	relations[96][1][2] = 0;
		relations[96][2][1] = 11;	relations[96][2][2] = 8;
		relations[96][3][1] = 12;	relations[96][3][2] = 7;
		relations[96][4][1] = 0;	relations[96][4][2] = 0;
		relations[96][5][1] = 11;	relations[96][5][2] = 7;
		relations[96][6][1] = 0;	relations[96][6][2] = 0;
		relations[96][7][1] = 0;	relations[96][7][2] = 0;
		relations[96][8][1] = 0;	relations[96][8][2] = 0;
		relations[96][9][1] = 0;	relations[96][9][2] = 0;
		relations[96][10][1] = 0;	relations[96][10][2] = 0;
		relations[96][11][1] = 0;	relations[96][11][2] = 0;
		relations[96][12][1] = 0;	relations[96][12][2] = 0;
		relations[96][13][1] = 0;	relations[96][13][2] = 0;		
	}
}
